#pragma once
#include <QString>

class help
{
public:
    static const char* toChar(QString str)
    {
        QByteArray ba = str.toLatin1();
        const char *charstr = ba.data();
        return charstr;
    }

    static QString toQString(char* str)
    {
        return QString(QLatin1String(str));
    }
};
